package com.javakc.platform.modules.circle.topic.dao;

import com.javakc.platform.modules.circle.topic.entity.CircleTopic;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.javakc.platform.modules.circle.topic.vo.QueryEntity;
import com.javakc.platform.modules.system.attachment.entity.SystemAttachment;
import org.springframework.data.repository.query.Param;

import java.util.List;

/**
* @author zhouhonggang
* @version 1.0.0
* @project rapid-development-platform
* @datetime 2022-04-16
* @description: [圈子话题·数据]
*/
public interface CircleTopicDao extends BaseMapper<CircleTopic> {

//    插入话题附加中间表
    public int insertAttachmentRelation(@Param("id") int id, @Param("list")List<SystemAttachment> list,@Param("type")int type);

    public List<QueryEntity> queryIndexTopic(CircleTopic QueryEntity);


}
